// 初始化项目架构
import { store, router } from '@C/@base/init.js'
import 'prismjs/themes/prism-tomorrow.css'
import './assets/prism-vsc-dark-plus-fixed.css'

import Vue from 'vue'
import Prism from 'prismjs'

window.Prism = Prism;



import 'prismjs/plugins/line-numbers/prism-line-numbers'
import 'prismjs/plugins/line-numbers/prism-line-numbers.css'

// 全局Bus事件
import bus from '@libs/bus'
Vue.prototype.$bus = bus;
window.$bus = bus;

// import simpleMap from '@best/libs-cli/simpleMap/index.js'
// Vue.use(simpleMap.popup);

// 加载入口模块
import App from './App.vue'


window.console.JSON = function (val) {
  console.log(JSON.parse(JSON.stringify(val)));
}



// 启动项目
new Vue({
  store,
  router,
  render: h => h(App)
}).$mount('#app')
